package licode.unisop.client.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.NestedConfigurationProperty;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

import java.util.List;


/**
 * 自动配置类
 *
 * @author licode
 */
@Data
@RefreshScope
@Configuration
@ConfigurationProperties(prefix = "uni-sop")
public class SopConfig {
    private String host;
    private String tokenName;

    @NestedConfigurationProperty
    private YmlLog log;
    @NestedConfigurationProperty
    private YmlPlatform platform;
}
